package Client;


import java.net.*;
import java.util.Vector;
import java.io.*;

public class Client {
	///////////////////////////////////
	//Attributs						///
	///////////////////////////////////
	private Connection connection;
	///////////////////////////////////
	//Méthodes						///
	///////////////////////////////////
	
	//Constructeur
	public Client() {
		this.connection = new Connection();
	}
	//identification
	public void identification(String id,String mdp){
		this.connection.identification(id,mdp);
	}
	
	public void inscription(String id,String mdp){
		this.connection.inscription(id,mdp);
	}
	
	public Vector<String> listeConnectes(){
		return this.connection.listeConnectes();	}
	
	public void envoyerMessage(String id, String message){
		this.connection.envoyerMessage(id, message);}
	

}